<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>aaaaaaaaaaa</h1>
<button onclick="getlist()">提交</button>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" type="application/javascript"></script>
<script>
    function getlist() {
        $.ajax({
            type: "get",
            contentType: "application/json",
            url: "/csdn/getList",
            data: {"url":"https://blog.csdn.net/u012796085?type=blog"},
            success: function (result) {
                console.log(result);
                if (result.status) {
                    alert("获取成功！")
                } else {
                    alert("获取错误！")
                }
            }
        });
    }
</script>
</body>
</html>